-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Poseidon2-based Sponge function #713
Conversation
I have no clue about the CI error, firstly we didn't use getrandom 0.2.15, (in my local cargo.lock, we only depends on 0.2.12); secondly, that error shouldn't come from any of my changes. We can safely review the code and ignore this error for now. (I will figure it out later) |
@@ -24,7 +24,7 @@ displaydoc = { workspace = true } | |||
hashbrown = { workspace = true } | |||
hex = "0.4.3" | |||
itertools = { workspace = true, features = ["use_alloc"] } | |||
jf-poseidon2 = { path = "../poseidon2" } | |||
jf-poseidon2 = { version = "0.1.0", git = "https://github.com/EspressoSystems/jellyfish" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also have a version number bump for jf-merkle-tree after CRHF is done?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I'll introduce the CRHF in the next PR, then another one after that to bump jf-merkle-tree
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Part of: #709 (Item 1 and 3)
This PR:
nimue
'strait Sponge
DuplexSponge
for all the parameters we have (including various rate, given the same state size)Caveats:
nimue-v0.1.0
which is the only published version, has compilation error, which I have reported upstream and help submit a PR to fix it.I will push for a release tag of
0.1.1
from the upstream and later repin ournimue
dependency, for now, I'm pointing to my own fork/branchBefore we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
CHANGELOG.md
of touched crates.Files changed
in the GitHub PR explorer